50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

mvcor (version 1.1)

Mantel coefficient between two sets of variables: Mantel coefficient two sets of variables

Description

Mantel coefficient between two sets of variables.

Usage

mantel(y, x)

Value

The Mantel coefficient.

Arguments

y

A numerical matrix.

x

A numerical matrix.

Author

Michail Tsagris

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

Details

The Mantel coefficient is simply the Pearson correlation coefficient computed on the off-diagonal elements of the distance matrix of each each matrix (or set of variables).

References

Abdi H. (2010). Congruence: Congruence coefficient, RV coefficient, and Mantel coefficient. Encyclopedia of Research Design, 3, 222--229.

See Also

rv, dcor

Examples

Run this code
mantel( as.matrix(iris[, 1:2]), as.matrix(iris[, 3:4]) )

Run the code above in your browser using DataLab